<?php /* Smarty version Smarty-3.1.21-dev, created on 2018-03-07 18:01:59
         compiled from "/data/wwwroot/61kq.com/uploads/app/template/admin/admin_recharge.htm" */ ?>
<?php /*%%SmartyHeaderCode:6505633165a9fb897bff182-85192708%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '1b724d31c662722839b1c58f9565a93624789d99' => 
    array (
      0 => '/data/wwwroot/61kq.com/uploads/app/template/admin/admin_recharge.htm',
      1 => 1517993824,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '6505633165a9fb897bff182-85192708',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'config' => 0,
    'pytoken' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.21-dev',
  'unifunc' => 'content_5a9fb897c68947_59150475',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_5a9fb897c68947_59150475')) {function content_5a9fb897c68947_59150475($_smarty_tpl) {?><!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
<link href="images/reset.css?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
" rel="stylesheet" type="text/css" />
<link href="images/system.css?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
" rel="stylesheet" type="text/css" />  
<link href="images/table_form.css?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
" rel="stylesheet" type="text/css" />
<title>后台管理</title>
<?php echo '<script'; ?>
 src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
/js/jquery-1.8.0.min.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
"><?php echo '</script'; ?>
>
<?php echo '<script'; ?>
 src="js/admin_public.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
" language="javascript"><?php echo '</script'; ?>
> 
<link href="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
/js/layui/css/layui.css?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
" rel="stylesheet">
<?php echo '<script'; ?>
 src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
/js/layui/layui.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
" language="javascript"><?php echo '</script'; ?>
>
<?php echo '<script'; ?>
 src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
/js/layui/phpyun_layer.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
"><?php echo '</script'; ?>
>

</head>
<body class="body_ifm">
<div class="infoboxp"> 
<div class="admin_new_tip">
<a href="javascript:;" class="admin_new_tip_close"></a>
<a href="javascript:;" class="admin_new_tip_open" style="display:none;"></a>
<div class="admin_new_tit"><i class="admin_new_tit_icon"></i>操作提示</div>
<div class="admin_new_tip_list_cont">
<div class="admin_new_tip_list">充值时，请正确填写用户名和要充值的<?php echo $_smarty_tpl->tpl_vars['config']->value['integral_pricename'];?>
。确认用户名的正确性。</div>
</div>
</div>
<div class="clear"></div>
		<div class="infoboxp_top mt10">
			<h6>会员充值</h6>
		</div>
<iframe id="supportiframe"  name="supportiframe" onload="returnmessage('supportiframe');" style="display:none"></iframe> 
    <div class="tag_box mt10">
<form name="myform" action="index.php?m=recharge" method="post"  target="supportiframe" onSubmit="return check()" class="layui-form">
	<table width="100%" class="table_form">
        <tr>
			<th width="140">充值用户名：</th>
			<td>
            <div class="layui-form-item">
              <div class="layui-input-block">
                 <div class="layui-input-inline">
                   <input class="layui-input input-text" type="text" name="userarr" id='userarr' size="40" value=""/>
                 </div>
                 <div class="layui-form-mid layui-word-aux">多个用户名用逗号隔开</div>
               </div>
            </div></td>
		</tr> 
        <tr class="admin_table_trbg">
			<th width="140">充值方式：</th>
			<td>
            <div class="layui-form-item">
              <div class="layui-input-block">
                 <div class="layui-input-inline">
                   <input type="radio" name="fs" value="1" id="fs_0" checked title="增加">
                   <input type="radio" name="fs" value="2" id="fs_1" title="扣除">
                 </div>
               </div>
            </div>
			  </td>
		</tr>
        <tr class="int" id="integral_tr">
            <th height="30"><?php echo $_smarty_tpl->tpl_vars['config']->value['integral_pricename'];?>
：</th>
            <td>
            <div class="layui-form-item">
              <div class="layui-input-block">
                 <div class="layui-input-inline">
                   <input type="text" name="price_int" id="price_int" size="20" maxlength="16" value="" onKeyUp="this.value=this.value.replace(/[^0-9.]/g,'')"   class="input-text"> <?php echo $_smarty_tpl->tpl_vars['config']->value['integral_priceunit'];?>

                 </div>
               </div>
            </div></td>
        </tr> 
          <tr class="admin_table_trbg">
            <th height="30" >备　　注：</th>
            <td><textarea name="remark" rows=2 cols=40 wrap="physical" class="admin_comdit_textarea"></textarea></td>
        </tr>
		<tr>
        <th></th>
			<td>
    		<input class="layui-btn layui-btn-normal" type="submit" name="insert" value="&nbsp;充　值&nbsp;" />
			</td>
		</tr>
	</table>
	<input type="hidden" name="pytoken" value="<?php echo $_smarty_tpl->tpl_vars['pytoken']->value;?>
">
</form>
</div>
</div>
<?php echo '<script'; ?>
> 
layui.use(['layer', 'form'], function(){
    var layer = layui.layer
    ,form = layui.form
    ,$ = layui.$;
});
function check(){
	if($("#userarr").val()==''){
		parent.layer.msg('请输入用户名！', 2,8);return false;
	}
	if($("#price_int").val()<1){
		parent.layer.msg('请输入<?php echo $_smarty_tpl->tpl_vars['config']->value['integral_pricename'];?>
！', 2,8);return false;
	}
}
<?php echo '</script'; ?>
>
</body>
</html><?php }} ?>
